package com.guan.ordering_sys.generator.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 关远键
 * @since 2021-06-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Refund对象", description="")
public class Refund implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "退款单编号")
    @TableId(value = "refund_id", type = IdType.AUTO)
    private Long refundId;

    @ApiModelProperty(value = "原订单编号")
    private Long orderId;

    @ApiModelProperty(value = "退款金额：单位为分")
    private BigDecimal money;

    @ApiModelProperty(value = "退款方式：0其他1现金2微信3支付宝")
    private String payType;

    @ApiModelProperty(value = "状态：1未付款2未退款3退款中6已退款")
    private String refundStatus;

    @ApiModelProperty(value = "审核状态：0未审核1已审核2驳回")
    private String examine;

    @ApiModelProperty(value = "该订单是否已做过菜：0没有1有")
    private String dish;

    @ApiModelProperty(value = "退单原因")
    private String reason;

    @ApiModelProperty(value = "说明")
    private String explian;


}
